package artid.com.arttogo.bean;

import java.io.Serializable;
import org.json.JSONObject;

/**
 * 艺术商城-商品详情-确认订单实体类
 */
public class AddOrder extends AppItem implements Serializable {
    String order_sn = "";
    String order_id = "";


    @Override
    public void parse(JSONObject obj) {
        if (null == obj) {
            return;
        }
        order_sn = obj.optString("order_sn");
        int orderid = obj.optInt("order_id");

        try {
            order_id = String.valueOf(orderid);
        } catch (Exception e) {
            // TODO: handle exception
        }


    }




    public String getOrder_id() {
        return order_id;
    }




    public void setOrder_id(String order_id) {
        this.order_id = order_id;
    }




    public String getOrder_sn() {
        return order_sn;
    }




    public void setOrder_sn(String order_sn) {
        this.order_sn = order_sn;
    }

}
